<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title></title>
    </head>
    <body>
        <?php
            //nime väärtuse küsimine URL-ilt
            if (isset($_GET['nimi']))
             {
                 echo urldecode($_GET['nimi']);
             }
             
             /*
              * nime, kui ka perekonnanime samaaegne küsimine URL-ilt.
              */
             if (isset($_GET['nimi']) && isset($_GET['perenimi']))
             {
                 echo '<br/>';
                 echo urldecode($_GET['nimi']) . ' ' . urldecode($_GET['perenimi']);
             }
        ?>
    </body>
</html>
